package com.lkm.app_ui.m.Imple.display_second;

import com.lkm.app_ui.m.display_second.DisplaySecondModule;
import com.lkm.frame.module.ConditionConfige;
import com.lkm.frame.module.ModuleDelegate;
import com.lkm.frame.module.ModuleManager;




public class DisplaySecondDelegate implements ModuleDelegate<DisplaySecondModule,Void> {

    private ModuleManager mModuleManager;
    @Override
    public void init(ModuleManager moduleManager) {
        mModuleManager=moduleManager;
    }

    @Override
    public void dependency(DependencyConfig dc) {

    }

    @Override
    public void configure(ConditionConfige<Void> cc) {

//        BootTask<Void,Void> voidVoidBootTask=new BootTask<Void,Void>(new CTaskExecutor<Void,Void,BootTaskResultWarp<Void>>(Config.getTaskExecutor(), Looper.getMainLooper()),"", MyApplication.getInstance().getTaskManager2(),mModuleManager){
















//                if (DisplayUtil.getDisplay(MyApplication.getInstance()) != null) {


//                    new Handler(Looper.getMainLooper()).postDelayed(new Runnable() {


//                            if (DisplayUtil.getDisplay(MyApplication.getInstance()) != null) {




















    }


    @Override
    public DisplaySecondModule execute(Void aVoid) {
        DisplaySecondModule displaySecondModule=new DisplaySecondModuleImpe();
        return displaySecondModule;
    }

    @Override
    public Class<DisplaySecondModule> getModuleInterfaceClass() {
        return DisplaySecondModule.class;
    }

    @Override
    public void onError(ErrorWarp e) {


//        P.p(new Gson().toJson(e));
    }
}
